package com.ruicar.afs.cloud.account.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.account.common.dto.VoucherInfoDto;
import com.ruicar.afs.cloud.account.common.entity.VoucherInfo;

import java.util.List;

public interface VoucherInfoService extends IService<VoucherInfo> {

    VoucherInfo saveOrUpdateVoucherInfo(VoucherInfo voucherInfo);

    VoucherInfoDto getVoucherInfo(Long id);

    Boolean delVoucherInfo(Long id);

    Boolean active(Long id);

    Boolean invalidity(Long id);

    List<VoucherInfo> listVoucher();
}
